package com.bw.search.remote;

import com.bw.common.core.domain.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import com.bw.search.common.EsProductModel;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("bw-search")
public interface RemoteShelvesService {

    @PostMapping("/search/productStatusUp")
    public Result productStatusUp(@RequestBody String esProductModels);

}
